package cn.iocoder.yudao.module.tms.controller.admin.customerfollowup.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户跟进分页 Request VO")
@Data
public class CustomerFollowUpPageReqVO extends PageParam {

    @Schema(description = "公司ID", example = "2048")
    private Long companyId;

    @Schema(description = "公司名字", example = "XX科技")
    private String companyName;

    @Schema(description = "公司模式", example = "direct")
    private String companyMode;

    @Schema(description = "负责人", example = "张三")
    private String principal;

    @Schema(description = "访问人员", example = "李四")
    private String visitor;

    @Schema(description = "跟进状态", example = "following")
    private String followStatus;

    @Schema(description = "走访时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] visitTime;

    @Schema(description = "下次跟进时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] nextFollowTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
